<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>设备信息</title>
<jsp:include page="../common/header-common.jsp"></jsp:include>
<script type="text/javascript">
function confirmSubmit(){
		document.forms[0].submit();
	}
</script>
</head>
<body>
  <jsp:include page="menu.jsp"></jsp:include>
<s:form action="/admin/itemSave.action" theme="simple">
<div class="content">
	<div class="pagetitle">>>杂志</div>
	<div id="btn_left">
	<ul>
		<li><a href="#" onclick="confirmSubmit();"><span><img src="../images/bt_submit.gif"  align='absmiddle'/></span></a></li>
	</ul>
	</div>
	<s:if test="message != null">
		<div class="return_tip">
			<s:property value="message" />
		</div>
	</s:if>
	<table class="tablecolor2" width="100%" align="center">
		<s:hidden name="magazineID"></s:hidden>
		<input type="hidden" value="<s:property value="item.id" />" name="itemID" />
		<s:hidden name="item.id"></s:hidden>
		<s:hidden name="item.magazineID"></s:hidden>
		<tr align="left">
			<td align="right" width="15%">作者:</td>
			<td align="left"><s:textfield name="item.author" /></td>
		</tr>
		<tr align="left">
			<td align="right" width="15%">标题:</td>
			<td align="left"><s:textfield name="item.title" /></td>
		</tr>
		<tr align="left">
			<td align="right" width="15%">二级类型:</td>
			<td align="left">
				<s:textarea name="item.content" cols="30" rows="30"></s:textarea>
			</td>
		</tr>
		<tr align="left">
			<td align="right" width="15%">创建时间:</td>
			<td align="left"><s:textfield name="item.createTime"  readonly="true" /></td>
		</tr>
	</table>
</div>
</s:form>
<jsp:include page="../common/footer.jsp" />
</body>
</html>